Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YouTube] Add support for automatic dubbed and secondary audio tracks #1237

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

AudricV
Copy link
Member

@AudricV AudricV commented Oct 26, 2024

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

This PR adds support for (i.e. distinguish) automatic dubbed audio tracks made by YouTube and secondary audio tracks.

Automatic dubbed tracks are generated by YouTube for creators and an example can be found on this video: https://www.youtube.com/watch?v=snZ9w5xc_ic. They are now treated like normal dubbed tracks with this PR.

Secondary audio tracks have now their own track type. In the DASH specification, a specific role value for these tracks doesn't seem to exist, so I used the default value of an audio track type in DASH manifests generated by the extractor, alternate. Here is a video with this track type: https://www.youtube.com/watch?v=UPrkC1LdlLY

@AudricV AudricV added enhancement New feature or request youtube service, https://www.youtube.com/ labels Oct 26, 2024
@TobiGr TobiGr merged commit 6af22e3 into TeamNewPipe:dev Oct 27, 2024
3 of 4 checks passed
@AudricV AudricV deleted the yt_more-audio-track-types-support branch October 27, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants